<?php
    
    \defined( '_JEXEC' ) or die( 'Restricted access' );

    /**
     * Description of config_file of index program
     *
     * @author George Zeakis<zeageorge@google.com>
     */

    //******************************************************************************
    // SECTION 1 - GENERAL
    // Description:
    $this->programEntryPointPath = $this->_programEntryPointPath;
    $this->programName           = $this->_prog_name;
    $this->programRootNamespace  = $this->_prog_rootNamespace;
    //******************************************************************************
    // SECTION - PATHS 
    //Description:
    
    //$this->{$this->programName()}->paths->libsFolderPath        = "";
    $this->paths->libsFolderPath        = $this->programEntryPointPath()."libs"       .DS;
    $this->paths->controllersFolderPath = $this->programEntryPointPath()."controllers".DS;
    $this->paths->modelsFolderPath      = $this->programEntryPointPath()."models"     .DS;
    $this->paths->viewsFolderPath       = $this->programEntryPointPath()."views"      .DS;

    //******************************************************************************
    // SECTION - Namespaces to register within the framework's Autoloader
    // Description:
    $this->namespaces = array(
                    $this->programRootNamespace()."\\"             =>$this->programEntryPointPath(),
                    $this->programRootNamespace()."\\lib\\"        =>$this->paths->libsFolderPath(),
                    $this->programRootNamespace()."\\controller\\" =>$this->paths->controllersFolderPath(),
                    $this->programRootNamespace()."\\model\\"      =>$this->paths->modelsFolderPath(),
                    $this->programRootNamespace()."\\view\\"       =>$this->paths->viewsFolderPath(),
                );
    //******************************************************************************
    // SECTION - STORAGE
    // Description:
    $this->custom_database->type          = "mysql";
    $this->custom_database->host          = "localhost";
    $this->custom_database->port          = "3306";
    $this->custom_database->name          = "pfp_01";
    $this->custom_database->username      = "pfp_01";
    $this->custom_database->user_password = "1234";
    $this->custom_database->table_prefix  = "tbl_";

//    echo "<pre>";
//    var_dump($this->{$this->programName()}->custom_database);
?>
